package com.financing.wap.dao.impl;

import org.springframework.stereotype.Repository;




import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IVisitRecordDao;
import com.financing.wap.dto.VisitRecordDTO;



@Repository("visitRecordDao")
public class VisitRecordDaoImpl extends BaseDaoImpl<VisitRecordDTO, java.lang.Integer> implements IVisitRecordDao {

	@Override
	public Integer insertVisitRecord(VisitRecordDTO dto) {
		@SuppressWarnings("deprecation")
		Integer id = (Integer)this.getSqlMapClientTemplate().insert(SqlName.VISIT_RECORD_INSERT,dto);
		return id;
	}

	@Override
	public Class<VisitRecordDTO> getEntityClass() {
		return VisitRecordDTO.class;
	}

	
	
}
